package cn.topcodes.tcsf.cms.domain.form;

import cn.topcodes.tcsf.admin.commons.domain.Idable;
import lombok.Data;
import java.util.Date;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotNull;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 文章分类表单
 * @author Unicorn
 * @date 2017-12-25 21:34:53
 */
@Data
public class ArticleCatalogForm implements Idable {
	
	private Long id;

	@NotNull(message = "分类名称不能为空")
	@Length(min = 0,max = 100,message = "分类名称长度为0~100个字符")
	private String catalogName;
	
	private Long parentId;

	private Integer sort;

}